﻿@if (string.IsNullOrWhiteSpace(Text))
{
    <MDivider Class="@Class" />
}
else
{
    <div class="@($"row {Class}") ">
        <div class="col">
            <MDivider />

        </div>
        <div class="col-auto d-flex" style=" align-items: center;color:gray;">
            <span>@Text</span>
        </div>
        <div class="col">
            <MDivider />

        </div>
    </div>
}
@code {
    [Parameter]
    public string Text { get; set; }
    [Parameter]
    public string Class { get; set; }
}
